<?php
namespace App\Helpers\Push\Messages;

use Overtrue\EasySms\Contracts\GatewayInterface;
use Overtrue\EasySms\Contracts\MessageInterface;
use Overtrue\EasySms\Message;

class ChangePasswordMessage extends Message
{
    protected $code;
    protected $product = '言士创作';

    public function __construct($code)
    {
        $this->code = $code;
    }

    public function getTemplate(GatewayInterface $gateway = null)
    {

        return 'SMS_63925715';
    }

    public function getContent(GatewayInterface $gateway = null)
    {
        return 'SMS_63925715';
    }

    public function getData(GatewayInterface $gateway = null)
    {
        return [

            'code' => "$this->code",
            'product' => $this->product

        ];

    }


}